package com.eight.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 郭坤
 * @since 2023-02-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smsAdvertisePosition", description="广告位置实体类")
@TableName(value = "sms_advertise_position")
public class SmsAdvertisePosition implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @TableField(value = "id")
    private Long id;

    @ApiModelProperty(value = "业务类型，餐饮小程序0")
    @TableField(value = "type")
    private Integer type;

    @ApiModelProperty(value = "广告位置名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "广告位置名称")
    @TableField(value = "descrition")
    private String descrition;

    @ApiModelProperty(value = "该位置最多几个广告")
    @TableField(value = "max_count")
    private Integer maxCount;


}
